| print("Enter 5 numbers, at least one should be a six") |
| entered = True |
| if i == "6": |
| print(entered) |
| entered = False |
| i = input() |
| for x in range(5): |
| print("Enter 5 numbers, at least one should be a six") |
|         entered = True |
|     if i == "6": |
| print(entered) |
| entered = False |
|     i = input() |
| for x in range(5): |
| 1 | entered = False |
| 2 | print("Enter 5 numbers, at least one should be a six") |
| 3 | for x in range(5): |
| 4 |     i = input() |
| 5 |     if i == "6": |
| 6 |         entered = True |
| 7 | print(entered) |
| i = int(i) |
| even = False |
| print(entered) |
| print("Enter 5 numbers, at least one should be a six") |
| even = True |
| i = input() |
| for x in range(5): |
| if i%2 == 0: |
|     i = int(i) |
| even = False |
| print(entered) |
| print("Enter 5 numbers, at least one should be a six") |
|         even = True |
|     i = input() |
| for x in range(5): |
|     if i%2 == 0: |
| 1 | even = False |
| 2 | print("Enter 5 numbers, at least one should be a six") |
| 3 | for x in range(5): |
| 4 |     i = input() |
| 5 |     i = int(i) |
| 6 |     if i%2 == 0: |
| 7 |         even = True |
| 8 | print(entered) |
| long = False |
| print(long) |
| if len(i) >= 8: |
| print("Enter three passwords, at least one should be longer than 8 characters") |
| i = input() |
| long = True |
| for x in range(3): |
| long = False |
| print(long) |
|     if len(i) >= 8: |
| print("Enter three passwords, at least one should be longer than 8 characters") |
|     i = input() |
|         long = True |
| for x in range(3): |
| 1 | print("Enter three passwords, at least one should be longer than 8 characters") |
| 2 | long = False |
| 3 | for x in range(3): |
| 4 |     i = input() |
| 5 |     if len(i) >= 8: |
| 6 |         long = True |
| 7 | print(long) |
| print(allgood) |
| print("Enter three passwords, at least one should be longer than 8 characters") |
| i = input() |
| for x in range(3): |
| allgood = True |
| allgood = False |
| if len(i) > 5: |
| print(allgood) |
| print("Enter three passwords, at least one should be longer than 8 characters") |
|     i = input() |
| for x in range(3): |
| allgood = True |
|         allgood = False |
|     if len(i) > 5: |
| 1 | print("Enter three passwords, at least one should be longer than 8 characters") |
| 2 | allgood = True |
| 3 | for x in range(3): |
| 4 |     i = input() |
| 5 |     if len(i) > 5: |
| 6 |         allgood = False |
| 7 | print(allgood) |
| allgood = False |
| else: |
| print("Well Done") |
| print("Enter three passwords, at least one should be longer than 8 characters") |
| for x in range(3): |
| allgood = True |
| print("Invalid") |
| if len(i) > 5: |
| if allgood == True: |
| i = input() |
|         allgood = False |
| else: |
|     print("Well Done") |
| print("Enter three passwords, at least one should be longer than 8 characters") |
| for x in range(3): |
| allgood = True |
|     print("Invalid") |
|     if len(i) > 5: |
| if allgood == True: |
|     i = input() |
| 1 | print("Enter three passwords, at least one should be longer than 8 characters") |
| 2 | allgood = True |
| 3 | for x in range(3): |
| 4 |     i = input() |
| 5 |     if len(i) > 5: |
| 6 |         allgood = False |
| 7 | if allgood == True: |
| 8 |     print("Well Done") |
| 9 | else: |
| 10 |     print("Invalid") |
| for x in range(len(6)): |
| odd = False |
| else: |
| odd = True |
| print("Enter 6 numbers, at least one must be even and one must be odd") |
| even = True |
| if i%2 == 0: |
| print(True) |
| print(False) |
| else: |
| even = False |
| if even == True and odd == True: |
| i = int(i) |
| i = input() |
| for x in range(len(6)): |
| odd = False |
|     else: |
|         odd = True |
| print("Enter 6 numbers, at least one must be even and one must be odd") |
|         even = True |
|     if i%2 == 0: |
|     print(True) |
|     print(False) |
| else: |
| even = False |
| if even == True and odd == True: |
|     i = int(i) |
|     i = input() |
| 1 | even = False |
| 2 | odd = False |
| 3 | print("Enter 6 numbers, at least one must be even and one must be odd") |
| 4 | for x in range(len(6)): |
| 5 |     i = input() |
| 6 |     i = int(i) |
| 7 |     if i%2 == 0: |
| 8 |         even = True |
| 9 |     else: |
| 10 |         odd = True |
| 11 | if even == True and odd == True: |
| 12 |     print(True) |
| 13 | else: |
| 14 |     print(False) |
| 15 |      |
| 16 |
| print(allgood) |
| allgood = False |
| for x in range(6): |
| i = input() |
| if len(i) < 2 or len(i) > 6: |
| allgood = True |
| print("Enter 6 strings with lengths of between 2 and 6") |
| print(allgood) |
|         allgood = False |
| for x in range(6): |
|     i = input() |
|     if len(i) < 2 or len(i) > 6: |
| allgood = True |
| print("Enter 6 strings with lengths of between 2 and 6") |
| 1 | allgood = True |
| 2 | print("Enter 6 strings with lengths of between 2 and 6") |
| 3 | for x in range(6): |
| 4 |     i = input() |
| 5 |     if len(i) < 2 or len(i) > 6: |
| 6 |         allgood = False |
| 7 |          |
| 8 | print(allgood) |
| print(allnumbers) |
| i = input() |
| allnumbers = True |
| for x in range(3): |
| if i.isdigit() == False: |
| allnumbers = False |
| print("Enter 3 numbers") |
| print(allnumbers) |
|     i = input() |
| allnumbers = True |
| for x in range(3): |
|     if i.isdigit() == False: |
|         allnumbers = False |
| print("Enter 3 numbers") |
| 1 | allnumbers = True |
| 2 | print("Enter 3 numbers") |
| 3 | for x in range(3): |
| 4 |     i = input() |
| 5 |     if i.isdigit() == False: |
| 6 |         allnumbers = False |
| 7 | print(allnumbers) |
| if i[0] != "a" and i[0] != "b" and i[0] != "c": |
| if allStart == True: |
| print("Enter 4 inputs that start with a,b or c") |
| for x in range(4): |
| print("That wasn't what I asked for") |
| allStart = False |
| allStart = True |
| i = input() |
| else: |
| print("Nice") |
|     if i[0] != "a" and i[0] != "b" and i[0] != "c": |
| if allStart == True: |
| print("Enter 4 inputs that start with a,b or c") |
| for x in range(4): |
|     print("That wasn't what I asked for") |
|         allStart = False |
| allStart = True |
|     i = input() |
| else: |
|     print("Nice") |
| 1 | allStart = True |
| 2 | print("Enter 4 inputs that start with a,b or c") |
| 3 | for x in range(4): |
| 4 |     i = input() |
| 5 |     if i[0] != "a" and i[0] != "b" and i[0] != "c": |
| 6 |         allStart = False |
| 7 | if allStart == True: |
| 8 |     print("Nice") |
| 9 | else: |
| 10 |     print("That wasn't what I asked for") |
| 11 |      |
| i = int(i) |
| if i == 100: |
| if aboveFifty == True and foundOneHundred == True: |
| print("Enter 5 numbers, all above 50 and one must be 100") |
| foundOneHundred = False |
| i = input() |
| aboveFifty = False |
| print(False) |
| for x in range(5): |
| foundOneHundred = True |
| print(True) |
| aboveFifty = True |
| else: |
| if i < 50: |
|     i = int(i) |
|     if i == 100: |
| if aboveFifty == True and foundOneHundred == True: |
| print("Enter 5 numbers, all above 50 and one must be 100") |
| foundOneHundred = False |
|     i = input() |
|         aboveFifty = False |
|     print(False) |
| for x in range(5): |
|         foundOneHundred = True |
|     print(True) |
| aboveFifty = True |
| else: |
|     if i < 50: |
| 1 | aboveFifty = True |
| 2 | foundOneHundred = False |
| 3 | print("Enter 5 numbers, all above 50 and one must be 100") |
| 4 | for x in range(5): |
| 5 |     i = input() |
| 6 |     i = int(i) |
| 7 |     if i < 50: |
| 8 |         aboveFifty = False |
| 9 |     if i == 100: |
| 10 |         foundOneHundred = True |
| 11 | if aboveFifty == True and foundOneHundred == True: |
| 12 |     print(True) |
| 13 | else: |
| 14 |     print(False) |
| 15 |          |
| valid = True |
| i = int(i) |
| print("Enter three numbers that are 5 digits long and divisible by 3") |
| if i%3 != 0: |
| print("Incorrect") |
| for x in range(3): |
| i = input() |
| else: |
| valid = False |
| if len(i) != 5: |
| if valid == True: |
| print("That is correct") |
| valid = False |
| valid = True |
|     i = int(i) |
| print("Enter three numbers that are 5 digits long and divisible by 3") |
|     if i%3 != 0: |
|     print("Incorrect") |
| for x in range(3): |
|     i = input() |
| else: |
|         valid = False |
|     if len(i) != 5: |
| if valid == True: |
|     print("That is correct") |
|         valid = False |
| 1 | valid = True |
| 2 | print("Enter three numbers that are 5 digits long and divisible by 3") |
| 3 | for x in range(3): |
| 4 |     i = input() |
| 5 |     if len(i) != 5: |
| 6 |         valid = False |
| 7 |     i = int(i) |
| 8 |     if i%3 != 0: |
| 9 |         valid = False |
| 10 | if valid == True: |
| 11 |     print("That is correct") |
| 12 | else: |
| 13 |     print("Incorrect") |
| inOrder = False |
| print(inOrder) |
| inOrder = True |
| i = input() |
| for x in range(10): |
| if i != x+1: |
| i = int(i) |
| print("Enter the numbers 1-10 in order") |
|         inOrder = False |
| print(inOrder) |
| inOrder = True |
|     i = input() |
| for x in range(10): |
|     if i != x+1: |
|     i = int(i) |
| print("Enter the numbers 1-10 in order") |
| 1 | inOrder = True |
| 2 | print("Enter the numbers 1-10 in order") |
| 3 | for x in range(10): |
| 4 |     i = input() |
| 5 |     i = int(i) |
| 6 |     if i != x+1: |
| 7 |         inOrder = False |
| 8 | print(inOrder) |
| 9 |   |
| larger = False |
| previous = 0 |
| i = input() |
| if i <= previous: |
| for x in range(len(5)): |
| print(larger) |
| i = int(i) |
| previous = i |
| larger = True |
| print("Enter 5 numbers, each should be larger than the last") |
|         larger = False |
| previous = 0 |
|     i = input() |
|     if i <= previous: |
| for x in range(len(5)): |
| print(larger) |
|     i = int(i) |
|     previous = i |
| larger = True |
| print("Enter 5 numbers, each should be larger than the last") |
| 1 | larger = True |
| 2 | print("Enter 5 numbers, each should be larger than the last") |
| 3 | previous = 0 |
| 4 | for x in range(len(5)): |
| 5 |     i = input() |
| 6 |     i = int(i) |
| 7 |     if i <= previous: |
| 8 |         larger = False |
| 9 |     previous = i |
| 10 | print(larger) |
| larger = False |
| previous = 0 |
| for x in range(len(5)): |
| previous = i |
| larger = True |
| print(larger) |
| i = input() |
| print("Enter 5 numbers, each should be larger than the last") |
| if i <= previous and x != 0: |
| i = int(i) |
|         larger = False |
| previous = 0 |
| for x in range(len(5)): |
|     previous = i |
| larger = True |
| print(larger) |
|     i = input() |
| print("Enter 5 numbers, each should be larger than the last") |
|     if i <= previous and x != 0: |
|     i = int(i) |
| 1 | larger = True |
| 2 | print("Enter 5 numbers, each should be larger than the last") |
| 3 | previous = 0 |
| 4 | for x in range(len(5)): |
| 5 |     i = input() |
| 6 |     i = int(i) |
| 7 |     if i <= previous and x != 0: |
| 8 |         larger = False |
| 9 |     previous = i |
| 10 | print(larger) |
| print("Enter a " + lenReq + " letter word") |
| valid = False |
| for x in range(4): |
| lenReq = 6 - x #start at 6 as you minus 0 |
| if len(i) != lenReq: |
| print(valid) |
| valid = True |
| i = input() |
|     print("Enter a " + lenReq + " letter word") |
|         valid = False |
| for x in range(4): |
|     lenReq = 6 - x #start at 6 as you minus 0 |
|     if len(i) != lenReq: |
| print(valid) |
| valid = True |
|     i = input() |
| 1 | valid = True |
| 2 | for x in range(4): |
| 3 |     lenReq = 6 - x #start at 6 as you minus 0 |
| 4 |     print("Enter a " + lenReq + " letter word") |
| 5 |     i = input() |
| 6 |     if len(i) != lenReq: |
| 7 |         valid = False |
| 8 | print(valid) |
| 9 |      |